<%@page pageEncoding="utf-8" language="java"  %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<html>
<head>

    <title>测试</title>
    <script src="<%=basePath%>js/jquery.min.js"></script>
    <script>
        $(function () {
            console.log(1);
        });
    </script>
</head>
<body>
${key}
<%=basePath%>

</body>
</html>
